// 值类型，引用类型(数组，对象，函数)

const x = 123
const str = "123"

// x = 99
// console.log(x)
// const obj1 = {} // 内存地址 0x123456abc
// obj = 0x123456abc

const obj1 = {
  name: "张三"
}
const obj2 = obj1
// obj2 = obj1 = 0x123456abc => {}
obj2.name = "李四"
console.log(obj1.name) // 张三
console.log(obj2.name) // 李四

console.log({} === {})


